﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ZoneUI : MonoBehaviour
{
    public Transform target;
    public Vector3 offset;


    private void Update()
    {
        Vector3 pos = Camera.main.WorldToScreenPoint(target.position);
        this.transform.position = new Vector3(pos.x,pos.y,0)+offset;
    }
}
